<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="LoginServlet" method="post">
    <div class="log" align="center">
        <h2>学生登录登录</h2>
        <div>
            <table>
                <tr>
                    <td>
                        学号：<input type="text" name="sno">
                    </td>
                </tr>
                <tr>
                    <td>
                        密码：<input type="password" name="password">
                    </td>
                </tr>
                <tr align="center">
                    <td>
                        <input type="submit" value="确认登录">
                        <a href="register.jsp" >注册</a>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</form>
</body>
</html>